package com.atlbb.service.Impl;

import com.atlbb.dao.ManagerDao;
import com.atlbb.mybatis.entity.Manager;
import com.atlbb.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author LiangQingBin
 * @version 1.00
 * @ClassName ManagerServiceImpl
 * @Description TODO
 * @time 2021/11/11 19:29
 */
@Service
@Transactional//控制事务
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    ManagerDao managerDao;
    @Override
    public Manager findOneManagerByManagerName(String ManagerName) {
        return managerDao.findOneManagerByManagerName(ManagerName);
    }
}
